import request from '../utils/request.js'
/**
 * 排队取号
 */
// 获取桌位类型列表
export const tableTypeListApi = data => {
    return request({
        url: "/api/cashier/manage/plugin/take-number/table-type-list",
        method: 'GET',
        data
    })
}
// 就餐
export const takeRepastApi = data => {
    return request({
        url: "/api/cashier/manage/plugin/take-number/repast",
        method: 'GET',
        data
    })
}
// 过号
export const takePassingApi = data => {
    return request({
        url: "/api/cashier/manage/plugin/take-number/passing-signal",
        method: 'GET',
        data
    })
}
// 叫号
export const takeCallApi = data => {
    return request({
        url: "/api/cashier/manage/plugin/take-number/call-number",
        method: 'GET',
        data
    })
}
// 过号列表
export const takeRecordApi = data => {
    return request({
        url: "/api/cashier/manage/plugin/take-number/signed-list",
        method: 'GET',
        data
    })
}
// 排队列表
export const takeWaitListApi = data => {
    return request({
        url: "/api/cashier/manage/plugin/take-number/waiting-list",
        method: 'GET',
        data
    })
}
// 排队取号 
export const takeCodeApi = data => {
    return request({
        url: "/api/cashier/manage/plugin/take-number/take-code",
        method: 'GET',
        data
    })
}
// 重置排队取号
export const takeCodeResetApi = data => {
    return request({
        url: "/api/cashier/manage/plugin/take-number/reset",
        method: 'GET',
        data
    })
}
